//
//  S1mpl3TitleTableViewCell.m
//  沙哈拉FM
//
//  Created by dllo on 15/11/6.
//  Copyright © 2015年 S1mpl3. All rights reserved.
//

#import "S1mpl3TitleTableViewCell.h"
#import "FitHeader.h"

@implementation S1mpl3TitleTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self creatView];
    }
    return self;
}

-(void)creatView{
    _titleLabel = [[BaseLabel alloc] init];
    [self.contentView addSubview:_titleLabel];
}

-(void)layoutSubviews{
    [super layoutSubviews];
    _titleLabel.frame = CGRectMake(10 * FITWidth, 0, 150 * FITWidth, self.contentView.frame.size.height);
    
}

-(void)setAlbumNum:(NSString *)albumNum{
    _titleLabel.textColor = [UIColor lightGrayColor];
    [_titleLabel setFontSize:14];
    _titleLabel.text = [NSString stringWithFormat:@"发布的声音 (%@)", albumNum];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
